package com.powernode.customer.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 微信小程序配置类
 */
@Data
@Component
@ConfigurationProperties(prefix = "wx.miniapp")//前缀
public class WxMaProperties {
    /**
     * 小程序appId
     */
    private String appId;
    /**
     * 小程序appSecret
     */
    private String secret;
}
